package entity;

import java.io.Serializable;
import java.util.Date;

public class Emp extends Man implements Serializable {

	/**
	 * 
	 */
	@myTestInterface(name="testA")
	private String name;
	private int age;
	private String address;
	private Date date;
	private long stamptime;
	
	
	
	
	public Emp() {
		super();
	}
	
	public Emp(String name) {
		super();
	
		this.name = name;
		this.age = 22;
		this.address = "earth";
		this.stamptime = System.currentTimeMillis();
	
		
	}




	public Emp(String name, int age, String address, Date date) {
		super();
		this.name = name;
		this.age = age;
		this.address = address;
		this.date = date;
	}




	public String getName() {
		return name;
	}




	public void setName(String name) {
		this.name = name;
	}




	public int getAge() {
		return age;
	}




	public void setAge(int age) {
		this.age = age;
	}




	public String getAddress() {
		return address;
	}




	public void setAddress(String address) {
		this.address = address;
	}




	public Date getDate() {
		return date;
	}




	public void setDate(Date date) {
		this.date = date;
	}

	@Override
	public String toString() {
		return "Emp [name=" + name + ", age=" + age + ", address=" + address + ", date=" + date + ", stamptime="
				+ stamptime + "]";
	}




	
	

}
